﻿using System;
using System.Data;
using System.Collections.Generic;
using Kingdee.BOS;

namespace KingdeeWebServiceProject.Data
{
    internal class OracleDatabase : AbstractDatabase
    {
        private string _ConnString;

        internal OracleDatabase(string strValue)
        {
            this._ConnString = strValue;
        }

        internal string ConnString
        {
            set { this._ConnString = value; }
            get { return this._ConnString; }
        }

        /// <summary>
        /// 执行SQL语句
        /// </summary>
        /// <param name="SqlString">SQL语句</param>
        /// <return>返回影响记录行</return>
        internal override int Execute(string strSql)
        {
            return 0;
        }

        /// <summary>
        /// 执行SQL语句（带参数）
        /// </summary>
        /// <param name="SqlString">SQL语句</param>
        /// <param name="lstSqlParams">SQL参数列表</param>
        /// <return>返回影响记录行</return>
        internal override int Execute(string strSql, List<SqlParam> lstSqlParams)
        {
            return 0;
        }


        /// <summary>
        /// 批量执行SQL语句
        /// </summary>
        /// <param name="lstSqlString">SQL语句列表</param>
        /// <return>返回影响记录行</return>
        internal override int ExecuteBatch(List<String> lstSql)
        {
            return 0;
        }

        /// <summary>
        /// 批量执行SQL语句
        /// </summary>
        /// <param name="lstSqlObject">SQL语句列表</param>
        /// <return>返回影响记录行</return>
        internal override int ExecuteBatch(List<SqlObject> lstSqlObject)
        {
            return 0;
        }

        /// <summary>
        /// 执行查询语句，返回DataSet
        /// </summary>
        /// <param name="SqlString">SQL语句</param>
        /// <return>返回数据集DataSet</return>
        internal override DataSet ExecuteDateSet(string strSql)
        {
            return null;
        }

        /// <summary>
        /// 执行查询语句，返回DataSet
        /// </summary>
        /// <param name="SqlString">SQL语句</param>
        /// <param name="lstSqlParams">SQL参数列表</param>
        /// <return>返回数据集DataSet</return>
        internal override DataSet ExecuteDateSet(string strSql, List<SqlParam> lstSqlParams)
        {
            return null;
        }
    }
}
